# -*- coding:utf-8 -*-

from pydantic import BaseModel, Field
from typing import Optional


class AgentFileUploadResponse(BaseModel):
    """Agent文件上传响应"""
    file_name: str = Field(description="文件名")
    file_size: int = Field(description="文件大小（字节）")
    file_path: str = Field(description="服务器文件路径")
    download_url: str = Field(description="下载URL")
    download_token: str = Field(description="下载令牌")
    expires_in: int = Field(description="令牌有效期（秒）")


class AgentFileDownloadRequest(BaseModel):
    """Agent文件下载请求"""
    token: str = Field(description="下载令牌")

